package co.com.smart.persistence.entity;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import co.com.smart.persistence.entity.dto.SmartInstitucion;
import co.com.smart.persistence.entity.util.AbstractFacade;

/**
 * Session Bean implementation class InstitucionFacade
 */
@Stateless(
		name		= "InstitucionFacade", 
		mappedName 	= "ejb/InstitucionFacade")
public class InstitucionFacade extends AbstractFacade<SmartInstitucion> implements InstitucionFacadeLocal {
	
	@PersistenceContext(unitName = "SnakeServicesPU")
	private EntityManager em;
    /**
     * Default constructor. 
     */
    public InstitucionFacade() {
    	super(SmartInstitucion.class);
    }

	@Override
	protected EntityManager getEntityManager() {
		return em;
	}

}
